package com.zzyl.service.impl;

import cn.hutool.core.util.StrUtil;
import cn.hutool.crypto.digest.BCrypt;
import cn.hutool.http.HttpResponse;
import cn.hutool.http.HttpUtil;
import cn.hutool.http.Method;
import cn.hutool.json.JSONUtil;
import com.zzyl.constant.Constants;
import com.zzyl.dto.LoginDto;
import com.zzyl.dto.WxLoginDto;
import com.zzyl.entity.Login;
import com.zzyl.entity.Member;
import com.zzyl.mapper.LoginMapper;
import com.zzyl.properties.JwtConfigProperties;
import com.zzyl.properties.WeChatConfigProperties;
import com.zzyl.service.LoginService;
import com.zzyl.utils.JwtUtil;
import com.zzyl.vo.LoginVo;
import com.zzyl.vo.UserVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.HashMap;
import java.util.Map;

/**
 * @Author:
 * @Description: TODO
 * @DateTime: 2024/6/14 10:29
 **/
@Service
public class LoginServiceImpl implements LoginService {

    @Autowired
    private LoginMapper loginMapper;

    @Override
    public UserVo Login(LoginDto dto) {
        return loginMapper.login(dto);
    }
//=================================================

}
